package org.example.dao;

import org.example.entity.Business;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface IBusinessRepository extends JpaRepository<Business, String> {
    public List<Business> findAllByOrderTypeId(Integer type);

    public Business findByBusinessId(String id);
}
